package com.example.securityconfiggen.model;

import javax.validation.constraints.NotBlank;

/**
 * YAML请求模型类，用于接收表单提交的YAML内容
 */
public class YamlRequest {

    @NotBlank(message = "项目名称不能为空")
    private String projectName;

    @NotBlank(message = "YAML内容不能为空")
    private String yamlContent;

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getYamlContent() {
        return yamlContent;
    }

    public void setYamlContent(String yamlContent) {
        this.yamlContent = yamlContent;
    }
} 